#pragma once

#define kBlockSize 128
#define kPointInfoResolution 0.2
#define kRefPointResolution 0.2
#define lSegmentLength (kBlockSize*kPointInfoResolution)

#define kAligned 16 
#define MemoryAligned(ptr, alignment)  (reinterpret_cast<uintptr_t>((reinterpret_cast<uintptr_t>((ptr)) + (alignment) -1 )/(alignment))*(alignment))
#define IsAligned(ptr, alignment) ((reinterpret_cast<uintptr_t>((ptr)) % alignment) == 0)
